import gradio as gr from transformers import pipeline # Tibbi bot üçün hazır AI modeli pipe = pipeline("text-generation", model="Abhisk/DoctorAI") def chatbot(input_text): response = pipe(input_text, max_length=300, do_sample=True, temperature=0.7)[0]["generated_text"] return response iface = gr.Interface( fn=chatbot, inputs="text", outputs="text", title="AI Doktor: Sual ver!", description="Simptomlarını yaz, AI doktorumuz cavab versin. Bu sistem informativ məqsədlidir və həkim əvəz etmir." ) iface.launch()

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

Comments

One response to “Hello world!”

  1. A WordPress Commenter Avatar

    Hi, this is a comment.
    To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
    Commenter avatars come from Gravatar.

Leave a Reply

Your email address will not be published. Required fields are marked *