Spaces:
Sleeping
Sleeping
ahmeds26
commited on
Commit
·
84adb96
1
Parent(s):
62106e2
Add application files
Browse files- app.py +2 -0
- requirements.txt +3 -0
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
|
|
|
|
3 |
|
4 |
global pipeline
|
5 |
global default_model_name
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
+
import tensorflow
|
4 |
+
import torch
|
5 |
|
6 |
global pipeline
|
7 |
global default_model_name
|
requirements.txt
CHANGED
@@ -1,2 +1,5 @@
|
|
1 |
gradio==3.44.4
|
|
|
|
|
|
|
2 |
transformers==4.33.2
|
|
|
1 |
gradio==3.44.4
|
2 |
+
tensorflow==2.13.0
|
3 |
+
tensorflow_intel==2.13.0
|
4 |
+
torch==2.0.0
|
5 |
transformers==4.33.2
|