eogreen commited on
Commit
5b4e1dc
·
verified ·
1 Parent(s): 998ddcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -38,7 +38,7 @@ def dprocess(command, ddddd):
38
  return 42
39
 
40
  # Set-up the Gradio UI
41
- textbox = gr.Textbox(label='Command')
42
  # company = gr.Radio(label='Company:',
43
  # choices=["aws", "google", "IBM", "Meta", "msft"],
44
  # value="aws")
@@ -46,11 +46,11 @@ textbox = gr.Textbox(label='Command')
46
  # Create Gradio interface
47
  # For the inputs parameter of Interface provide [textbox,company] with outputs parameter of Interface provide prediction
48
  demo = gr.Interface(fn=dprocess,
49
- inputs=[textbox, company],
50
  outputs="text",
51
  title="operand data automation CLI",
52
- description="",
53
- theme=gr.themes.Ocean())
54
 
55
  demo.queue()
56
  demo.launch()
 
38
  return 42
39
 
40
  # Set-up the Gradio UI
41
+ textbox = gr.Textbox(label='Command:')
42
  # company = gr.Radio(label='Company:',
43
  # choices=["aws", "google", "IBM", "Meta", "msft"],
44
  # value="aws")
 
46
  # Create Gradio interface
47
  # For the inputs parameter of Interface provide [textbox,company] with outputs parameter of Interface provide prediction
48
  demo = gr.Interface(fn=dprocess,
49
+ inputs=[textbox],
50
  outputs="text",
51
  title="operand data automation CLI",
52
+ description="The description...",
53
+ theme=gr.themes.Soft(),
54
 
55
  demo.queue()
56
  demo.launch()