Spaces:
Running
Running
nei10u
commited on
Commit
·
acf3d69
1
Parent(s):
8b539fd
modify code
Browse files- app.py +0 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -57,7 +57,6 @@ with Blocks() as demo:
|
|
57 |
with Column():
|
58 |
prediction_output = Textbox(label="Prediction")
|
59 |
essay_output = Textbox(label="Essay")
|
60 |
-
video_output = Video(label="Video")
|
61 |
# Step 1
|
62 |
essay_btn.click(fn=predict_step, inputs=[cohere_key, image, dropdown], outputs=[prediction_output, essay_output],
|
63 |
api_name="essay_generate")
|
|
|
57 |
with Column():
|
58 |
prediction_output = Textbox(label="Prediction")
|
59 |
essay_output = Textbox(label="Essay")
|
|
|
60 |
# Step 1
|
61 |
essay_btn.click(fn=predict_step, inputs=[cohere_key, image, dropdown], outputs=[prediction_output, essay_output],
|
62 |
api_name="essay_generate")
|
requirements.txt
CHANGED
@@ -3,4 +3,5 @@ pillow==9.5.0
|
|
3 |
langchain==0.0.190
|
4 |
transformers==4.28.1
|
5 |
torch==2.0.1
|
6 |
-
torchvision==0.15.2
|
|
|
|
3 |
langchain==0.0.190
|
4 |
transformers==4.28.1
|
5 |
torch==2.0.1
|
6 |
+
torchvision==0.15.2
|
7 |
+
cohere==4.8.0
|