Evaaaaa06 commited on
Commit
b6e1b82
·
verified ·
1 Parent(s): c8dddb0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -1,9 +1,11 @@
1
  import json, os
 
2
  import io
3
  import gradio as gr
4
  from fastapi.middleware.cors import CORSMiddleware
5
  from fastapi import FastAPI, Request, Header, BackgroundTasks, HTTPException, status
6
  import google.generativeai as genai
 
7
  import base64
8
  from collections import defaultdict
9
  from linebot import LineBotApi, WebhookHandler
 
1
  import json, os
2
+ from io import BytesIO
3
  import io
4
  import gradio as gr
5
  from fastapi.middleware.cors import CORSMiddleware
6
  from fastapi import FastAPI, Request, Header, BackgroundTasks, HTTPException, status
7
  import google.generativeai as genai
8
+ from google.generativeai import types
9
  import base64
10
  from collections import defaultdict
11
  from linebot import LineBotApi, WebhookHandler