ChemDave commited on
Commit
fbab3d6
·
verified ·
1 Parent(s): 2a33426

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def answer(question):
4
+ return f"You asked: {question}"
5
+
6
+ app = gr.Interface(
7
+ fn=answer,
8
+ inputs=gr.Textbook(label="Ask a chemistry question"),
9
+ ouputs=gr.Textbook(label="Response"),
10
+ title="VR-LAB"
11
+ )
12
+ app.lauch()