Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
-
|
4 |
|
5 |
from Gradio_UI import GradioUI
|
6 |
|
7 |
|
8 |
|
9 |
-
final_answer = FinalAnswerTool()
|
10 |
-
|
11 |
# Load your fine-tuned model from Hugging Face Hub
|
12 |
model = pipeline("text2text-generation", model='unica/CLiMA') # Replace with your actual model repo name
|
13 |
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
+
import PyTorch, TensorFlow
|
4 |
|
5 |
from Gradio_UI import GradioUI
|
6 |
|
7 |
|
8 |
|
|
|
|
|
9 |
# Load your fine-tuned model from Hugging Face Hub
|
10 |
model = pipeline("text2text-generation", model='unica/CLiMA') # Replace with your actual model repo name
|
11 |
|