Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import torch
|
2 |
-
|
3 |
def process_text(input_text):
|
4 |
# Example CUDA processing: reverse the input string and move to GPU
|
5 |
if torch.cuda.is_available():
|
|
|
1 |
import torch
|
2 |
+
import gradio as gr
|
3 |
def process_text(input_text):
|
4 |
# Example CUDA processing: reverse the input string and move to GPU
|
5 |
if torch.cuda.is_available():
|