msinghy commited on
Commit
4de2ced
1 Parent(s): 25b5932

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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")