arjunanand13 commited on
Commit
0a89382
1 Parent(s): 4d44c1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,7 +68,7 @@ def model_inference(image, text):
68
  }
69
 
70
  result = client(inputs)
71
-
72
  generated_text = result['generated_text']
73
  return generated_text
74
 
@@ -77,7 +77,7 @@ with gr.Blocks(css="""
77
  background-color: lightgrey;
78
  }
79
  """) as demo:
80
- gr.Markdown("## Enhanced IDEFICS2 Demo")
81
 
82
  # Create a row with two columns of equal size
83
  with gr.Row():
 
68
  }
69
 
70
  result = client(inputs)
71
+ print(result)
72
  generated_text = result['generated_text']
73
  return generated_text
74
 
 
77
  background-color: lightgrey;
78
  }
79
  """) as demo:
80
+ gr.Markdown("## IDEFICS2 Demo")
81
 
82
  # Create a row with two columns of equal size
83
  with gr.Row():