Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
def respond(query):
|
2 |
eval_prompt = "###Input: " + query + "\n\n###Output: "
|
3 |
model_input = tokenizer(eval_prompt, return_tensors="pt").to("cuda")
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
def respond(query):
|
4 |
eval_prompt = "###Input: " + query + "\n\n###Output: "
|
5 |
model_input = tokenizer(eval_prompt, return_tensors="pt").to("cuda")
|