Kjgarza commited on
Commit
367db14
·
1 Parent(s): dbaf271
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ def create_input_components():
13
  # A text input for users to provide the schema target.
14
  target_input = gr.Textbox(label="Schema Target", placeholder="Enter your schema target...")
15
 
16
- return schema_input, target_input
17
 
18
  def create_output_component():
19
  """
@@ -32,7 +32,7 @@ output = create_output_component()
32
  interface = gr.Interface(
33
  fn=greet, # This function will handle the logic and transformations.
34
  inputs=inputs,
35
- outputs=output,
36
  # live=True,
37
  title="Schema Transformer with Llama2",
38
  description="Paste your schema, specify the target, and get the transformed schema."
 
13
  # A text input for users to provide the schema target.
14
  target_input = gr.Textbox(label="Schema Target", placeholder="Enter your schema target...")
15
 
16
+ return [schema_input, target_input]
17
 
18
  def create_output_component():
19
  """
 
32
  interface = gr.Interface(
33
  fn=greet, # This function will handle the logic and transformations.
34
  inputs=inputs,
35
+ outputs="text",
36
  # live=True,
37
  title="Schema Transformer with Llama2",
38
  description="Paste your schema, specify the target, and get the transformed schema."